﻿@model CodeExample.Models.First

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>First</legend>

    <div class="display-label">One</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.One)
    </div>

    <div class="display-label">Two</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Two)
    </div>

    <div class="display-label">Three</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Three)
    </div>

    <div class="display-label">Four</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Four)
    </div>

    <div class="display-label">Five</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Five)
    </div>

    <div class="display-label">Six</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Six)
    </div>

    <div class="display-label">Seven</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Seven)
    </div>

    <div class="display-label">Eight</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Eight)
    </div>

    <div class="display-label">Nine</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Nine)
    </div>

    <div class="display-label">Ten</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Ten)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
